<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="__STATIC__/layout/favicon.ico"> 
    <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <style>
           .radio-inline input[type=radio] {
            margin-top: 4px
        }
    </style>
</head>

<body style="color:#333;padding:3px;">
    <!-- 标题 -->
    <div class="page-heade">
      <h2 class="title_color text-center">销售物料使用申请</h2>
    </div>
    <!-- 标题 -->
    <div>
    <form action="" class="form-inline">
      <table class="row-margin-top tab-content table-bordered table" border="1">
          <tr>
            <td style="min-width: 120px;width: 120px"><label for="" class="form-label">申请人：</label></td>
            <td><span class="trTotal2">测试经理</span></td>
            <td style="min-width: 120px;width: 120px"><label for="" class="form-label">申请人部门：</label></td>
            <td>华南大区</td> 
          </tr>
           <tr>
            <td style="min-width: 120px;width: 120px"><label for="" class="form-label">状态：</label></td>
            <td>草稿</td>
            <td style="min-width: 120px;width: 120px"><label for="" class="form-label">申请日期：</label></td>
            <td>2017-11-30</td> 
          </tr>
          <tr>
			      <td style="min-width: 120px;width: 120px"><label for="" class="form-label">主题<span class="colorRed">*</span>：</label></td>
            <td colspan="3"><input type="text" class="form-control" name="theme" id="theme"></td>
		    </tr>
         <tr>
            <td style="min-width: 120px;width: 120px"><label for="" class="form-label">区域维度：</label></td>
            <td colspan="3">
                 <label class="radio-inline">
                    <input type="radio" name="inlineRadioOptions" checked id="inlineRadio1" value="option2">省份
                  </label>
                  <label class="radio-inline">
                    <input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option3">城市
                  </label>
                              <label class="radio-inline">
                    <input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="option4">经销商
                  </label>
                              <label class="radio-inline">
                    <input type="radio" name="inlineRadioOptions" id="inlineRadio4" value="option5">网点
                  </label>
            </td>
        </tr>
     <tr>
        <td style="min-width: 120px;width: 120px"><label for="" class="form-label">产品维度：</label></td>
            <td colspan="3">
               <label class="radio-inline">
                    <input type="radio" name="inlineRadioOptions1" checked id="inlineRadio11" value="option2z">品类
                  </label>
                  <label class="radio-inline">
                    <input type="radio" name="inlineRadioOptions1" id="inlineRadio22" value="option3z">系列
                  </label>
                              <label class="radio-inline">
                    <input type="radio" name="inlineRadioOptions1" id="inlineRadio33" value="option4z">SKU
                  </label>
                              <label class="radio-inline">
                    <input type="radio" name="inlineRadioOptions1" id="inlineRadio44" value="option5z">单品
                  </label>
            </td>
       </tr>
       <tr>
            <td style="min-width: 120px;width: 120px"><label for="" class="form-label">渠道类型<span class="colorRed">*</span>：</label></td>
            <td colspan="3">
              <select name="qudao" id="qudao" class="form-control">
                  <option value="0">请选择</option>
                  <option value="1">零售</option>
              </select>
            </td>
          </tr>
         <tr>
            <td style="min-width: 120px;width: 120px"><label for="" class="form-label">收货信息<span class="colorRed">*</span>：</label></td>
            <td colspan="5">收货地址：<input type="text" class="form-control" name="address" id="address">;收货人：<input type="text" class="form-control" name="acceptPeople" id="acceptPeople">;电话：<input type="text" class="form-control" name="addressTel" id="addressTel"></td>
          </tr>
      </table>
     <table class="table row-margin-top table-bordered bud_hei">
      <tr>
        <td><a class="btn-info btn" type="button" id="addDetail">添加明细</a>(至少添加一条物料明细)</td>
      </tr>
       <tr>
        <td class="text-center">无记录</td>
      </tr>
     </table>
      <table class="table row-margin-top table-bordered bud_hei">
      <tr>
        <td style="min-width: 120px;width: 120px" rowspan="3"><label for="" class="form-label">备注：</label></td>
        <td><textarea name="" id="" class="form-control" rows="3" style="width: 60%"></textarea><span style="vertical-align: bottom;">500</span></td>
      </tr>
     </table>
       <div class="form-group white-bg" style="margin:20px 10px 20px 20px">
            <input type="file" id="exampleInputFile1">
            <p class="help-block" style="color:#1295d2">注：最多上传15个文件，每个文件小于50M,支持格式：</p>
            <p class="help-block" style="color:#1295d2">jpg,bnp,gif,png,jpeg,tif,raw,doc,docx,xls,xlsx,ppt,pptx,txt,pdf,rar,zip,mp4,avi,rmvb,rm,mid,3gp,AVI,3GP,,mpg,mp3,wma,wav</p>
        </div>
        <div class="row text-center no-padding">
            <button class="btn btn-primary">保存为草稿</button>
            <button class="btn btn-warning">保存并提交流程</button>
            <button class="btn btn-info" onclick="back()" type="button">返回</button>
        </div>
</form>
    </div>
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
    <script src="__STATIC__/layout/js/common.js"></script>
    <script>
      $("#addDetail").click(function(){
      	 var $theme =$("#theme");
      	 var $qudao0 =$("#qudao").val();
      	 var $address =$("#address").val();
      	 var $acceptPeople =$("#acceptPeople").val();
      	 var $addressTel =$("#addressTel").val();
      		if($theme.val()==""){
      			confirm("主体不能为空！")
      			return false;
      		}
      		if($qudao0=="0"){
      			confirm("渠道不能为空！")
      			return false
      		}
      		if($address ==""){
      			confirm("收货地址不能为空！")
      		}else if($acceptPeople ==""){
      			confirm("收货人不能为空！")
      		}else if($addressTel == ""){
      			confirm("收货电话不能为空！")
      		}else{
      			$(this).attr("href","xiaoshouwlsy_apply.html")
      		}
      })
      function back(){
        history.go(-1)
      }
    </script>
</body>

</html>
